Hello and welcome to Simple INI Editor!  

Contents
	About Simple INI Editor
	Installation Instructions
	Uninstall Instructions
	Contacting RiverSoftAVG

---------------------------------------------
About Simple INI Editor
---------------------------------------------

The Simple INI Editor is a small application for editing INI files.  It uses the Object Inspector Component Suite (OICS) for Delphi 6, 7, and 2005 (Win32) to display and edit the lines of INI files.  It shows how easy it is to use the OICS to add INI dialogs or editors to your Delphi applications.  The source code for this application comes with the OICS, which may be purchased from RiverSoftAVG.com.  There is also a demo version of the OICS available from the web site.  

The application code, excluding turning various options on and off, took less than 20 lines of code:

procedure TfrmEditINI.LoadClick(Sender: TObject);
var
   i: Integer;
begin
     if OpenDialog1.Execute then
     begin
          RSItemListEditor1.Strings.LoadFromFile(OpenDialog1.FileName);
          // let's make the section titles bold so they stand out
          for i := 0 to RSItemListEditor1.Items.Count - 1 do
              if AnsiStartsText('[',RSItemListEditor1.Items[i].Name) and
                 AnsiEndsText(']',RSItemListEditor1.Items[i].Name)  then
                 RSItemListEditor1.Items[i].Font.Style := [fsBold] + RSItemListEditor1.Items[i].Font.Style;
          SaveDialog1.FileName := OpenDialog1.FileName;
     end;
end;

procedure TfrmEditINI.SaveClick(Sender: TObject);
begin
     if SaveDialog1.Execute then
     begin
          RSItemListEditor1.Strings.SaveToFile(SaveDialog1.FileName);
          OpenDialog1.FileName := SaveDialog1.FileName;
     end;
end;

The Simple INI Editor could easily be extended to provide special editors, type safety, etc

The Simple INI Editor is provided as a free utility.  No warranties or guarantees are implied.  Use at your own risk.    


---------------------------------------------
Installation Instructions
---------------------------------------------

1.	Unzip to directory of your choice

2.	To try Simple INI Editor, click Load and select one of the included INI files

Enjoy!

If there are any problems, don't hesitate to contact me at support@RiverSoftAVG.com

---------------------------------------------
How to use
---------------------------------------------

The Simple INI Editor is a small application for editing INI files.  It uses the Object Inspector Component Suite (OICS) for Delphi 6, 7, and 2005 (Win32) to display and edit the lines of INI files.  It shows how easy it is to use the OICS to add INI dialogs or editors to your Delphi applications.  The Simple INI Editor displays a file where every line is a row of the item list editor.  Each row has 2 columns: one for the name and one for the value (e.g., Name=Value in the INI file).  If the name portion of a line is hierarchical (by default, separated by periods (.)), the Simple INI Editor will display the names as a tree structure, e.g., Item.Name=Value becomes

   + Item
       Name	Value

To edit a name or value, just select the cell and type in the new text.  Note that you cannot edit the name if the "Names are read only" check box is checked.  By default, the Simple INI Editor does not allow you to add or delete rows.  By checking the "Allow Add/Delete rows", you can add rows by hitting INSERT or arrow down past the end of the file, and delete rows by selecting a cell on the row and hitting CTRL-DELETE.

Options
-------
Display Hierarchical INI data	
	When this is checked, the Simple INI Editor will read an INI File and if the name portion is separated by periods, it will build a tree of names (load the hierarchical.ini for an example).  When this item is *not* checked, only row will be built for every one line in the INI file.

Names are read only
	When this option is checked, you cannot edit the name portion of the name=value part of an INI line.

Allow Add/Delete Rows
	When this option is checked, you can add rows by hitting INSERT or arrow down past the end of the file, and delete rows by selecting a cell on the row and hitting CTRL-DELETE.

Display Column Titles
	When this option is checked, the column titles are displayed.

The Simple INI Editor could easily be extended to provide special editors, type safety, etc


---------------------------------------------
Uninstall Instructions
---------------------------------------------

1.	Delete EXE

---------------------------------------------
Contacting RiverSoftAVG
---------------------------------------------

For technical support send email to:

  support@RiverSoftAVG.com

web site:

  www.RiverSoftAVG.com

---------------------------------------------

 Unless otherwise noted, all materials provided in this release
 are Copyright  2005, Thomas G. Grubb.

---------------------------------------------
